{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/hanilchang/Library/CloudStorage/Dropbox/My Working Paper/Feeling of being monitored/Replication data/Appendx E6_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}27 Mar 2024, 09:12:57

{com}. do "/var/folders/cw/x60r4nhs4qb6kz260j0fxy9h0000gn/T//SD01154.000000"
{txt}
{com}. clear
{txt}
{com}. 
. import delimited "lab_6rounds.csv"
{res}{txt}(encoding automatically selected: ISO-8859-1)
{text}(199 vars, 420 obs)

{com}. 
. xtset subject_id round
{res}
{col 1}{txt:Panel variable: }{res:subject_id}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:round}{txt:, }{res:{bind:1}}{txt: to }{res:{bind:6}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. 
. replace vote_choice = vote_choice + 1
{txt}(420 real changes made)

{com}. 
. xtmlogit vote_choice partner_transfer role_first_half, base(1)
{res}
{txt}Fitting comparison model ...
{res}{txt}
Refining starting values:

Grid node 0:{space 3}log likelihood = {res: -298.2601}
Grid node 1:{space 3}log likelihood = {res:-328.84555}

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -298.2601}  
Iteration 1:{space 3}log likelihood = {res:-278.34112}  
Iteration 2:{space 3}log likelihood = {res: -271.4545}  
Iteration 3:{space 3}log likelihood = {res:-270.19379}  
Iteration 4:{space 3}log likelihood = {res:-270.17651}  
Iteration 5:{space 3}log likelihood = {res:-270.17657}  
Iteration 6:{space 3}log likelihood = {res:-270.17656}  
{res}
{txt}{col 1}Random-effects multinomial logistic regression{col 54}{lalign 16:Number of obs}{col 70} = {res}{ralign 6:420}
{txt}{col 1}{txt}Group variable: {res}subject_id{txt}{col 54}{lalign 16:Number of groups}{col 70} = {res}{ralign 6:70}

{txt}{col 1}Random effects u_i ~ {txt:Gaussian}{col 54}Obs per group:
{col 54}{ralign 16:min}{col 70} = {res}{ralign 6:6}
{txt}{col 54}{ralign 16:avg}{col 70} = {res}{ralign 6:6.0}
{txt}{col 54}{ralign 16:max}{col 70} = {res}{ralign 6:6}

{txt}{col 1}Integration method: {res:mvaghermite}{col 54}{lalign 16:Integration pts.}{col 70} = {res}{ralign 6:7}

{txt}{col 54}{lalign 16:Wald chi2({res:4})}{col 70} = {res}{ralign 6:67.59}
{txt}{col 1}{lalign 14:Log likelihood}{col 15} = {res}{ralign 10:-270.17656}{txt}{col 54}{lalign 16:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     vote_choice{col 18}{c |} Coefficient{col 30}  Std. err.{col 42}      z{col 50}   P>|z|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}0                {txt}{c |}
partner_transfer {c |}{col 18}{res}{space 2}-1.351618{col 30}{space 2} .4804382{col 41}{space 1}   -2.81{col 50}{space 3}0.005{col 58}{space 4} -2.29326{col 71}{space 3}-.4099769
{txt}{space 1}role_first_half {c |}{col 18}{res}{space 2}-.2384876{col 30}{space 2} .7722576{col 41}{space 1}   -0.31{col 50}{space 3}0.757{col 58}{space 4}-1.752085{col 71}{space 3} 1.275109
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}  2.44246{col 30}{space 2}   1.2565{col 41}{space 1}    1.94{col 50}{space 3}0.052{col 58}{space 4}-.0202334{col 71}{space 3} 4.905154
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}1               {col 18}{txt}{c |}  (base outcome)
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}2                {txt}{c |}
partner_transfer {c |}{col 18}{res}{space 2} 4.494983{col 30}{space 2} .7336083{col 41}{space 1}    6.13{col 50}{space 3}0.000{col 58}{space 4} 3.057137{col 71}{space 3} 5.932828
{txt}{space 1}role_first_half {c |}{col 18}{res}{space 2}-.9103303{col 30}{space 2} .8799085{col 41}{space 1}   -1.03{col 50}{space 3}0.301{col 58}{space 4}-2.634919{col 71}{space 3} .8142587
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-1.585991{col 30}{space 2}  1.44786{col 41}{space 1}   -1.10{col 50}{space 3}0.273{col 58}{space 4}-4.423745{col 71}{space 3} 1.251762
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}var(u0){c |}{col 18}{res}{space 2} 7.719437{col 30}{space 2} 2.648386{col 58}{space 4} 3.940535{col 71}{space 3} 15.12224
{txt}{space 10}var(u2){c |}{col 18}{res}{space 2} 7.868416{col 30}{space 2} 3.499412{col 58}{space 4}  3.29096{col 71}{space 3} 18.81274
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{txt}LR test vs. multinomial logit: {txt}chi2({res}2{txt}) ={res} 160.21{col 59}{txt}Prob > chi2 ={res}{col 73}0.0000

{txt}{p 0 6 2 82}Note: {help j_mixedlr##|_new:LR test is conservative} and provided only for reference.{p_end}

{com}. 
. xtmlogit vote_choice partner_transfer role_first_half age female christian muslim, base(1)
{res}
{txt}Fitting comparison model ...
{res}{txt}
Refining starting values:

Grid node 0:{space 3}log likelihood = {res:-273.52859}
Grid node 1:{space 3}log likelihood = {res:-295.70326}

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-273.52859}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-258.67728}  
Iteration 2:{space 3}log likelihood = {res:-256.46939}  
Iteration 3:{space 3}log likelihood = {res:-256.07143}  
Iteration 4:{space 3}log likelihood = {res:-255.90051}  
Iteration 5:{space 3}log likelihood = {res:-255.58638}  
Iteration 6:{space 3}log likelihood = {res: -255.5266}  
Iteration 7:{space 3}log likelihood = {res:-255.52289}  
Iteration 8:{space 3}log likelihood = {res:-255.52296}  
Iteration 9:{space 3}log likelihood = {res:-255.52296}  
{res}
{txt}{col 1}Random-effects multinomial logistic regression{col 54}{lalign 16:Number of obs}{col 70} = {res}{ralign 6:420}
{txt}{col 1}{txt}Group variable: {res}subject_id{txt}{col 54}{lalign 16:Number of groups}{col 70} = {res}{ralign 6:70}

{txt}{col 1}Random effects u_i ~ {txt:Gaussian}{col 54}Obs per group:
{col 54}{ralign 16:min}{col 70} = {res}{ralign 6:6}
{txt}{col 54}{ralign 16:avg}{col 70} = {res}{ralign 6:6.0}
{txt}{col 54}{ralign 16:max}{col 70} = {res}{ralign 6:6}

{txt}{col 1}Integration method: {res:mvaghermite}{col 54}{lalign 16:Integration pts.}{col 70} = {res}{ralign 6:7}

{txt}{col 54}{lalign 16:Wald chi2({res:12})}{col 70} = {res}{ralign 6:79.86}
{txt}{col 1}{lalign 14:Log likelihood}{col 15} = {res}{ralign 10:-255.52296}{txt}{col 54}{lalign 16:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     vote_choice{col 18}{c |} Coefficient{col 30}  Std. err.{col 42}      z{col 50}   P>|z|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}0                {txt}{c |}
partner_transfer {c |}{col 18}{res}{space 2}-1.192428{col 30}{space 2} .4797834{col 41}{space 1}   -2.49{col 50}{space 3}0.013{col 58}{space 4}-2.132786{col 71}{space 3}-.2520696
{txt}{space 1}role_first_half {c |}{col 18}{res}{space 2} -.333763{col 30}{space 2} .6809822{col 41}{space 1}   -0.49{col 50}{space 3}0.624{col 58}{space 4}-1.668464{col 71}{space 3} 1.000938
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.1975807{col 30}{space 2} .2094826{col 41}{space 1}   -0.94{col 50}{space 3}0.346{col 58}{space 4} -.608159{col 71}{space 3} .2129976
{txt}{space 10}female {c |}{col 18}{res}{space 2}-3.029173{col 30}{space 2} .7400649{col 41}{space 1}   -4.09{col 50}{space 3}0.000{col 58}{space 4}-4.479674{col 71}{space 3}-1.578673
{txt}{space 7}christian {c |}{col 18}{res}{space 2}  -1.1889{col 30}{space 2} .7530906{col 41}{space 1}   -1.58{col 50}{space 3}0.114{col 58}{space 4} -2.66493{col 71}{space 3} .2871308
{txt}{space 10}muslim {c |}{col 18}{res}{space 2}-2.475336{col 30}{space 2} .9327617{col 41}{space 1}   -2.65{col 50}{space 3}0.008{col 58}{space 4}-4.303515{col 71}{space 3}-.6471563
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 9.223115{col 30}{space 2} 4.675772{col 41}{space 1}    1.97{col 50}{space 3}0.049{col 58}{space 4} .0587707{col 71}{space 3} 18.38746
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}1               {col 18}{txt}{c |}  (base outcome)
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}2                {txt}{c |}
partner_transfer {c |}{col 18}{res}{space 2} 4.467802{col 30}{space 2} .7351541{col 41}{space 1}    6.08{col 50}{space 3}0.000{col 58}{space 4} 3.026926{col 71}{space 3} 5.908677
{txt}{space 1}role_first_half {c |}{col 18}{res}{space 2}-1.056491{col 30}{space 2} .8769049{col 41}{space 1}   -1.20{col 50}{space 3}0.228{col 58}{space 4}-2.775193{col 71}{space 3} .6622111
{txt}{space 13}age {c |}{col 18}{res}{space 2}-.3267182{col 30}{space 2} .2647594{col 41}{space 1}   -1.23{col 50}{space 3}0.217{col 58}{space 4}-.8456372{col 71}{space 3} .1922007
{txt}{space 10}female {c |}{col 18}{res}{space 2}-1.349038{col 30}{space 2} .9079883{col 41}{space 1}   -1.49{col 50}{space 3}0.137{col 58}{space 4}-3.128662{col 71}{space 3} .4305865
{txt}{space 7}christian {c |}{col 18}{res}{space 2}-1.219234{col 30}{space 2} .9689896{col 41}{space 1}   -1.26{col 50}{space 3}0.208{col 58}{space 4}-3.118419{col 71}{space 3} .6799502
{txt}{space 10}muslim {c |}{col 18}{res}{space 2}-1.720166{col 30}{space 2}  1.17954{col 41}{space 1}   -1.46{col 50}{space 3}0.145{col 58}{space 4}-4.032023{col 71}{space 3} .5916905
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 7.080248{col 30}{space 2} 5.801542{col 41}{space 1}    1.22{col 50}{space 3}0.222{col 58}{space 4}-4.290565{col 71}{space 3} 18.45106
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}var(u0){c |}{col 18}{res}{space 2} 4.337331{col 30}{space 2} 1.657607{col 58}{space 4} 2.050771{col 71}{space 3} 9.173351
{txt}{space 10}var(u2){c |}{col 18}{res}{space 2} 7.176182{col 30}{space 2} 3.294309{col 58}{space 4} 2.918364{col 71}{space 3} 17.64604
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{txt}LR test vs. multinomial logit: {txt}chi2({res}2{txt}) ={res} 114.10{col 59}{txt}Prob > chi2 ={res}{col 73}0.0000

{txt}{p 0 6 2 82}Note: {help j_mixedlr##|_new:LR test is conservative} and provided only for reference.{p_end}

{com}. 
. xtmlogit vote_choice partner_transfer role_first_half age female christian muslim beautytask_choice crt_total_correct altruism positive_reciprocity, base(1)
{res}
{txt}Fitting comparison model ...
{res}{txt}
Refining starting values:

Grid node 0:{space 3}log likelihood = {res:-267.24434}
Grid node 1:{space 3}log likelihood = {res:-287.41734}

Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-267.24434}  
Iteration 1:{space 3}log likelihood = {res:-254.97957}  
Iteration 2:{space 3}log likelihood = {res:-252.18036}  
Iteration 3:{space 3}log likelihood = {res:-251.96464}  
Iteration 4:{space 3}log likelihood = {res:-251.96326}  
Iteration 5:{space 3}log likelihood = {res:-251.96326}  
{res}
{txt}{col 1}Random-effects multinomial logistic regression{col 54}{lalign 16:Number of obs}{col 70} = {res}{ralign 6:420}
{txt}{col 1}{txt}Group variable: {res}subject_id{txt}{col 54}{lalign 16:Number of groups}{col 70} = {res}{ralign 6:70}

{txt}{col 1}Random effects u_i ~ {txt:Gaussian}{col 54}Obs per group:
{col 54}{ralign 16:min}{col 70} = {res}{ralign 6:6}
{txt}{col 54}{ralign 16:avg}{col 70} = {res}{ralign 6:6.0}
{txt}{col 54}{ralign 16:max}{col 70} = {res}{ralign 6:6}

{txt}{col 1}Integration method: {res:mvaghermite}{col 54}{lalign 16:Integration pts.}{col 70} = {res}{ralign 6:7}

{txt}{col 54}{lalign 16:Wald chi2({res:20})}{col 70} = {res}{ralign 6:82.00}
{txt}{col 1}{lalign 14:Log likelihood}{col 15} = {res}{ralign 10:-251.96326}{txt}{col 54}{lalign 16:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         vote_choice{col 22}{c |} Coefficient{col 34}  Std. err.{col 46}      z{col 54}   P>|z|{col 62}     [95% con{col 75}f. interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}0                    {txt}{c |}
{space 4}partner_transfer {c |}{col 22}{res}{space 2}-1.207901{col 34}{space 2} .4836323{col 45}{space 1}   -2.50{col 54}{space 3}0.013{col 62}{space 4}-2.155803{col 75}{space 3}-.2599993
{txt}{space 5}role_first_half {c |}{col 22}{res}{space 2}-.2853449{col 34}{space 2} .6969776{col 45}{space 1}   -0.41{col 54}{space 3}0.682{col 62}{space 4}-1.651396{col 75}{space 3} 1.080706
{txt}{space 17}age {c |}{col 22}{res}{space 2} -.218496{col 34}{space 2} .2094075{col 45}{space 1}   -1.04{col 54}{space 3}0.297{col 62}{space 4}-.6289271{col 75}{space 3} .1919352
{txt}{space 14}female {c |}{col 22}{res}{space 2}-2.843075{col 34}{space 2} .7492975{col 45}{space 1}   -3.79{col 54}{space 3}0.000{col 62}{space 4}-4.311671{col 75}{space 3}-1.374479
{txt}{space 11}christian {c |}{col 22}{res}{space 2}-.9316189{col 34}{space 2} .7968669{col 45}{space 1}   -1.17{col 54}{space 3}0.242{col 62}{space 4}-2.493449{col 75}{space 3} .6302116
{txt}{space 14}muslim {c |}{col 22}{res}{space 2}-2.327942{col 34}{space 2} .9556708{col 45}{space 1}   -2.44{col 54}{space 3}0.015{col 62}{space 4}-4.201022{col 75}{space 3}-.4548611
{txt}{space 3}beautytask_choice {c |}{col 22}{res}{space 2}-3.80e-06{col 34}{space 2} .0152576{col 45}{space 1}   -0.00{col 54}{space 3}1.000{col 62}{space 4}-.0299081{col 75}{space 3} .0299005
{txt}{space 3}crt_total_correct {c |}{col 22}{res}{space 2} .4744239{col 34}{space 2}  .326091{col 45}{space 1}    1.45{col 54}{space 3}0.146{col 62}{space 4}-.1647026{col 75}{space 3}  1.11355
{txt}{space 12}altruism {c |}{col 22}{res}{space 2} .1323716{col 34}{space 2} .2681954{col 45}{space 1}    0.49{col 54}{space 3}0.622{col 62}{space 4}-.3932818{col 75}{space 3}  .658025
{txt}positive_reciprocity {c |}{col 22}{res}{space 2} .0137045{col 34}{space 2} .2830831{col 45}{space 1}    0.05{col 54}{space 3}0.961{col 62}{space 4}-.5411281{col 75}{space 3} .5685371
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 7.863511{col 34}{space 2} 4.912831{col 45}{space 1}    1.60{col 54}{space 3}0.109{col 62}{space 4}-1.765461{col 75}{space 3} 17.49248
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}1                   {col 22}{txt}{c |}  (base outcome)
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}2                    {txt}{c |}
{space 4}partner_transfer {c |}{col 22}{res}{space 2} 4.512103{col 34}{space 2} .7358177{col 45}{space 1}    6.13{col 54}{space 3}0.000{col 62}{space 4} 3.069927{col 75}{space 3} 5.954279
{txt}{space 5}role_first_half {c |}{col 22}{res}{space 2}-1.275559{col 34}{space 2} .8790686{col 45}{space 1}   -1.45{col 54}{space 3}0.147{col 62}{space 4}-2.998501{col 75}{space 3} .4473842
{txt}{space 17}age {c |}{col 22}{res}{space 2} -.254122{col 34}{space 2}  .253236{col 45}{space 1}   -1.00{col 54}{space 3}0.316{col 62}{space 4}-.7504554{col 75}{space 3} .2422115
{txt}{space 14}female {c |}{col 22}{res}{space 2}-.9624232{col 34}{space 2} .9212865{col 45}{space 1}   -1.04{col 54}{space 3}0.296{col 62}{space 4}-2.768112{col 75}{space 3} .8432653
{txt}{space 11}christian {c |}{col 22}{res}{space 2}-1.684043{col 34}{space 2} .9979286{col 45}{space 1}   -1.69{col 54}{space 3}0.091{col 62}{space 4}-3.639947{col 75}{space 3} .2718609
{txt}{space 14}muslim {c |}{col 22}{res}{space 2}-1.549192{col 34}{space 2} 1.175846{col 45}{space 1}   -1.32{col 54}{space 3}0.188{col 62}{space 4}-3.853807{col 75}{space 3} .7554229
{txt}{space 3}beautytask_choice {c |}{col 22}{res}{space 2}-.0309054{col 34}{space 2} .0202873{col 45}{space 1}   -1.52{col 54}{space 3}0.128{col 62}{space 4}-.0706679{col 75}{space 3}  .008857
{txt}{space 3}crt_total_correct {c |}{col 22}{res}{space 2}-.0752595{col 34}{space 2} .3978067{col 45}{space 1}   -0.19{col 54}{space 3}0.850{col 62}{space 4}-.8549464{col 75}{space 3} .7044274
{txt}{space 12}altruism {c |}{col 22}{res}{space 2}-.1339375{col 34}{space 2} .3333066{col 45}{space 1}   -0.40{col 54}{space 3}0.688{col 62}{space 4}-.7872064{col 75}{space 3} .5193314
{txt}positive_reciprocity {c |}{col 22}{res}{space 2} .4912446{col 34}{space 2} .3582673{col 45}{space 1}    1.37{col 54}{space 3}0.170{col 62}{space 4}-.2109465{col 75}{space 3} 1.193436
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 5.909535{col 34}{space 2} 5.872057{col 45}{space 1}    1.01{col 54}{space 3}0.314{col 62}{space 4}-5.599486{col 75}{space 3} 17.41856
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}var(u0){c |}{col 22}{res}{space 2} 4.180033{col 34}{space 2} 1.607489{col 62}{space 4} 1.967155{col 75}{space 3} 8.882209
{txt}{space 14}var(u2){c |}{col 22}{res}{space 2} 6.253916{col 34}{space 2}  2.90283{col 62}{space 4} 2.518005{col 75}{space 3} 15.53272
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{txt}LR test vs. multinomial logit: {txt}chi2({res}2{txt}) ={res} 99.99{col 59}{txt}Prob > chi2 ={res}{col 73}0.0000

{txt}{p 0 6 2 86}Note: {help j_mixedlr##|_new:LR test is conservative} and provided only for reference.{p_end}

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/hanilchang/Library/CloudStorage/Dropbox/My Working Paper/Feeling of being monitored/Replication data/Appendx E6_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}27 Mar 2024, 09:13:12
{txt}{.-}
{smcl}
{txt}{sf}{ul off}